<template>
	<div>
		<div class="trainOccupyingSeat_mask" @click='maskClick'>
			<div @click.stop>
				<div class="trainOccupyingSeat_mask_tip">
					<div>
						{{promptMessage}}
						<!--一天内3次取消<span v-if="isChangTicket">改签</span>订单后，当日将不能在12306继续购票！-->
					</div>
				</div>
				<div class="trainOccupyingSeat_mask_btn">
					<div class="trainOccupyingSeat_mask_left" @click="cancelOrder()">取消</div>
					<div class="trainOccupyingSeat_mask_right" @click='maskClick'>点错了</div>
				</div>
			</div>
		</div>
	</div>
</template>
<style scoped>
	.trainOccupyingSeat_mask {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: 350;
		display: flex;
		justify-content: center;
		align-items: center;
		background-color: rgba(0,0,0,0.75);
	}
	
	.trainOccupyingSeat_mask > div {
		width: 650px;
		height: 310px;
		border-radius: 15px;
		background: #fff;
		font-size: 36px;
		color: #333;
	}
	
	.trainOccupyingSeat_mask_tip {
		height: 215px;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
		width: 100%;
		padding: 0 42px;
		box-sizing: border-box;
		line-height: 65px;
		border-bottom: 2px solid #ebebeb;
	}
	
	.trainOccupyingSeat_mask_btn {
		height: 95px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.trainOccupyingSeat_mask_btn > div {
		width: 50%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.trainOccupyingSeat_mask_right {
		color: #fff;
		border-radius: 0 0 15px 0;
		background: #43BFA4;
	}
</style>
<script>
	
	export default {
		props: {
			promptMessage: String,
		},
		data() {
			return {
				
			}
		},
		mounted() {

		},
		methods: {
			maskClick(){
				this.$emit('mask');
			},
			cancelOrder(){
				this.$emit('cancel');
			},
		},
		created() {

		},
		watch: {//监听放置
			
		},
		filters: { //过滤
			
		},
		components: {},
		computed: {}
	};
</script>